<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">

<head>
	<title>Unauthorized</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
	<!-- Custom Theme files -->
	<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
	<!-- //Custom Theme files -->
	<!--pop-up-box-->
	<link href="css/popuo-box.css" rel="stylesheet" type="text/css" media="all" />
	<!--//pop-up-box-->
	<link rel="stylesheet" href="css/font-awesome.css">
	<!-- Font-Awesome-Icons-CSS -->
	<!-- web font -->
	
	<!-- //web font -->
</head>

<body>
	<div class="main-agileits">
		<h1>Unauthorized Error Page</h1>
		<!-- content -->
		<div class="mainw3-agileinfo form">
			<div class="agileits-subscribe">
				<div class="img-po-agile">
					<img src="img/mmmmk.png" alt="">
				</div>
				<div class="subscribe-w3lsbottom">
					<div class="w3l-page">
						<i class="fa fa-spinner" aria-hidden="true"></i>Unauthorized
					</div>
					<h6>Oooops.... 您没有当前访问权限哦</h6>
					<h2>401</h2>
					<a class="play-icon popup-with-zoom-anim" onclick="history.go(-1)">
						Back</a>
				</div>
				<p class="page-agilemk">Unauthorized</p>
				<div class="img-po-agile posi-sgile-2">
					<img src="img/mmmmk2.png" alt="">
				</div>
				<div class="clear"></div>
			</div>
		</div>
		<!-- //content -->
	</div>

	
		<!-- copyright -->
		<div class="w3copyright-agile">
			<p>© | Developed by
				<a id="refreshUser">Yang.Xing</a>
			</p>
		</div>
		<!-- //copyright -->


		<!-- jquery -->
		<script src="js/jquery-2.1.4.min.js"></script>
		<!-- //jquery -->
<script type="text/javascript">

	$("#refreshUser").bind("click",function () {
        $.ajax({
            type:"get",
            url:"/login.spr",
            contentType:"application/json",
            dataType: "json",
            data:{
                'method':"refreshUser",
                'username':""

            },
            success:function(data){
                var dataObj=eval("("+data+")");

                if(dataObj.result!="0000"){
                    alert(dataObj.msg);
                }else{
                    alert(dataObj.msg);
                    history.go(-1);

                }
            },
            error:function(){
                alert("刷新失败！");

            }
        });
    })
</script>
	

</body>

</html>